package grp.test.pojo;

public class User {
    private Integer userId;

    private String userName;

    private String userPassword;

    private String phone;

    private Integer userType;

    public User(Integer userId, String userName, String userPassword, String phone, Integer userType) {
        this.userId = userId;
        this.userName = userName;
        this.userPassword = userPassword;
        this.phone = phone;
        this.userType = userType;
    }

    public User() {
        super();
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName == null ? null : userName.trim();
    }

    public String getUserPassword() {
        return userPassword;
    }

    public void setUserPassword(String userPassword) {
        this.userPassword = userPassword == null ? null : userPassword.trim();
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone == null ? null : phone.trim();
    }

    public Integer getUserType() {
        return userType;
    }

    public void setUserType(Integer userType) {
        this.userType = userType;
    }
}